/**
 * @Author: 陈瑞鹏
 * @Date:   2022-12-31 11:35:35
 * @Last Modified by:   陈瑞鹏
 * @Last Modified time: 2022-12-31 17:58:06
 */

import BaseEle from "../../eles/baseEle";
import { PlayerState } from "../../shared/game/state/PlayerState";
import { Dictionary } from "../../utils/dictionary";

/**
 * 机器人pvp
 */
export default class robotPvpCtr {

  private static _ins: robotPvpCtr = null;

  public static get ins(): robotPvpCtr {
    if (this._ins == null) {
      this._ins = new robotPvpCtr();
    }
    return this._ins;
  }

  players: Dictionary<number, PlayerState> = new Dictionary();
  playerBaseEles: BaseEle[] = [];
  robotBaseEles: BaseEle[] = [];
  resBaseEles: BaseEle[] = [];

  isStart: boolean = false; //是否开始

  gameOverTime: number = 0; //倒计时结束时间

}